<?php /* Smarty version 2.6.26, created on 2018-07-05 14:44:40
         compiled from default/top.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'cat', 'default/top.html', 29, false),array('modifier', 'escape', 'default/top.html', 29, false),)), $this); ?>
<div class="top_bar">
	<div class="top">
		<span>亲，欢迎您来到<?php echo $this->_tpl_vars['UQCMS']['site_name']; ?>
商城！</span>
		<div class="login">
				<?php if ($_SESSION['user']['nick'] != ''): ?>
					<a href="<?php echo $this->_tpl_vars['__URL__']; ?>
member.php"><?php echo $_SESSION['user']['nick']; ?>
</a><span>|</span>
					<a href="<?php echo $this->_tpl_vars['__URL__']; ?>
member.php?a=logout">退出</a> 
				<?php elseif ($_SESSION['user']['username'] != ''): ?>
					<a href="<?php echo $this->_tpl_vars['__URL__']; ?>
member.php"><?php echo $_SESSION['user']['username']; ?>
</a><span>|</span>
					<a href="<?php echo $this->_tpl_vars['__URL__']; ?>
member.php?a=logout">退出</a> 
				<?php elseif ($_SESSION['user']['mobile'] != ''): ?>
					<a href="<?php echo $this->_tpl_vars['__URL__']; ?>
member.php"><?php echo $_SESSION['user']['mobile']; ?>
</a><span>|</span>
					<a href="<?php echo $this->_tpl_vars['__URL__']; ?>
member.php?a=logout">退出</a> 
				<?php elseif ($_SESSION['user']['email'] != ''): ?>
					<a href="<?php echo $this->_tpl_vars['__URL__']; ?>
member.php"><?php echo $_SESSION['user']['email']; ?>
</a><span>|</span>
					<a href="<?php echo $this->_tpl_vars['__URL__']; ?>
member.php?a=logout">退出</a> 
				<?php else: ?>
					<a href="member.php?a=login&returnUrl=<?php echo $this->_tpl_vars['UQCMS']['request_url']; ?>
">登录</a><span>|</span><a href="member.php?a=register">免费注册</a> 
					      
				<?php endif; ?>
		</div> 
		<div class="help">
			<a href="<?php echo $this->_tpl_vars['UQCMS']['site_url']; ?>
">首页</a> 
			<a href="member.php?m=buy">我的订单</a> 
			<a href="#">联系客服</a> 
			<?php if ($_SESSION['user']['uid']): ?>
				<a href="member.php?m=shop">商家登陆</a> 
			<?php else: ?>
				<a href="member.php?a=login&returnUrl=<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['UQCMS']['site_url'])) ? $this->_run_mod_handler('cat', true, $_tmp, 'member.php?m=shop') : smarty_modifier_cat($_tmp, 'member.php?m=shop')))) ? $this->_run_mod_handler('escape', true, $_tmp, 'url') : smarty_modifier_escape($_tmp, 'url')); ?>
">商家登陆</a> 
			<?php endif; ?>
		</div>
	</div> 
</div>